JavaScript

{grid.object}editField Method

Syntax

{grid.Object}.editField(rowNumber, field)

Arguments

rowNumber

The number of the row that you want placed in edit mode.

field

The field on the row to be edited.

Description

If the Grid's 'RowEditStyle' is set to 'RowOnDemand', puts the specified row into edit mode.

Discussion

Focus is set to the specified field (field must be uppercase, with spaces in the fieldname replaced with underbar). This method is equivalent to double clicking on a particular field in a Grid row to edit that field.

See Also